package LeetCode.month03.day89;

/**
 * @author 16778
 * @date 2025/10/29 9:54
 * @description
 */
public class No3370 {
    public int smallestNumber(int n) {
        int x = 1;
        while(x<n){
            x= x*2+1;
        }
        return x;
    }
}
